package cn.s1995.sloth.bizs.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;

import cn.s1995.sloth.bizs.entity.UserHistorySearch;

public interface UserHistorySearchService extends IService<UserHistorySearch> {

	/**
	 * 更新查询历史
	 * @param uid
	 * @param search
	 */
	void updateHistory(Long uid, String search);

	/**
	 * 获取热搜关键字
	 * @return
	 */
	List<String> getPopularSearch();

}
